#!/bin/bash

echo "child process id is $$"
echo "my father process id is $PPID"

# 输出本地变量和环境变量的当前值
echo "localvar=$localvar"
echo "ENVVAR=$ENVVAR"

# 重新定义本地变量和环境变量
localvar="Redefine this local variable"
ENVVAR="Refefine this environment variable."
echo "localvar=$localvar"
echo "ENVVAR=$ENVVAR"
